﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    /// <summary>
    /// A container for a list of preferences of a person 
    /// (e.g. seat position in flight, restuarants)
    /// Note at least one preference required
    /// </summary>
    public class PersonPreferences : List<PersonPreference>, IExtendedAttributes
    {
        public PersonPreferences()
        {
        }

        public PersonPreferences(int capacity)
            : base(capacity)
        {
        }

        public PersonPreferences(IEnumerable<PersonPreference> collection)
            : base(collection)
        {
        }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
